# class Rectangle:


#     def __init__(self,width,heigth):
#         self.hidden_width = width
#         self.hidden_heigth = heigth
    
#     def get_width(self):
#         return self.hidden_width

#     def get_heigth(self):
#         return self.hidden_heigth

#     def set_width(self,width):
#         self.hidden_width =width
#     def set_heigth(self,heigth):
#         self.hidden_heigth = heigth
    
#     def get_area(self):
#         return self.hidden_heigth * self.hidden_width


# r = Rectangle(5,2)

# print(r.get_area())

   

class Person():

    def __init__(self,name):
        self._name = name
    
    def get_name(self):
        return self._name  

    def set_name(self,name):
        self._name = name


p = Person('张三')

print(p._name)

